#ifndef _H_BMP_HEADER_H_
#define _H_BMP_HEADER_H_

struct __attribute__((__packed__)) bmp_header {
	short signiture; //0x424d
	unsigned int size;
	short reserved1; // 0
	short reserved2; // 0
	unsigned int pixel_arry;
	unsigned int bmpheader_size; // 40
	unsigned int width; // x resolution
	unsigned int height; // yresolution
	short planes; //1
	short bpps; // 1,4,8,16,24
	unsigned int compression; // 0-None, 1-RLE-8, 2-RLE-4
	unsigned int fsize;
	unsigned int h_res;
	unsigned int w_res;
	unsigned int ncolor;
	unsigned int nimpcolor;
};

#endif /* _H_BMP_HEADER_H_ */
